[PATCH] [sanitizer] Remove usage of termios ioctl constants for glibc
authortrcrsired <uwgghhbcad@gmail.com>
Thu, 17 Jul 2025 04:18:30 +0000 (12:18 +0800)
committerSylvestre Ledru <sylvestre@debian.org>
Sun, 14 Jun 2026 08:12:01 +0000 (10:12 +0200)
commitfca5c69257e1816c24b88b07202aca5ae4915a5c
tree3e9430777b2bacc113663cac161a091009e71bab
parent4e99c9afe7e9549e7c3ec031cdb3000348b16eb0
[PATCH] [sanitizer] Remove usage of termios ioctl constants for glibc

glibc 2.42 made all usage of termios ioctl constants strictly internal.

Therefore, we remove all usage for those removed constants for glibc.

We keep a pesudo definition for PowerPC to make bots happy.

[sanitizer] avoid using ioctl constants for glibc above 2.41

[compiler-rt] code formatting to make CI happy

[compiler-rt] fix a missing #endif

Gbp-Pq: Name sanitizer-149140.patch
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
compiler-rt/lib/sanitizer_common/sanitizer_platform.h
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h